"""
@Time: 2021/2/5 下午 8:13
@Author: jinzhuan
@File: deepke.py
@Desc: 
"""
from cognlp.io.processor.re.deepke import DeepkeRelationProcessor
from cognlp.io.loader.re.deepke import CsvRelationLoader

loader = CsvRelationLoader()
data = loader._load('../../../../cognlp/data/re/csv/train.csv')

processor = DeepkeRelationProcessor(label_list=loader.get_labels(), path='../../../../cognlp/data/re/csv')
dataset = processor.process(data)
print(1)
